obj-m :=demo_spi.o
#module-objs := file1.o file.o
KDIR :=/lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
all:      
	$(MAKE)  -C  $(KDIR)  M=$(PWD)  modules  
install:
	$(MAKE) -C $(KDIR) M=$(PWD) modules_install
clean:
	rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions \
		modules.order Module.symvers
